Fill a cocktail shaker with the ice. Add the pineapple juice and rum and shake. Strain into a 20-ounce beer mug or Pilsner glass. Top off with the beer and stir briefly. Garnish with the pineapple spear and slice.