Peel the pineapple, remove the stalk, cut the fruit into eighths and slice. Put pineapple juice, coconut liqueur and jam sugar in a pot and heat while stirring. Let it boil fizzy for at least 3 minutes. Add grated coconut and pineapple pieces and mix in. Pour into glasses and let cool off. Cover and place in the refrigerator. Consume as soon as possible