Preheat the oven to 350 degrees Fahrenheit and place cupcake liners into the cupcake pans.
In a medium bowl, whisk together flour, baking powder, baking soda, and salt.
In a large bowl add the butter, sugar, and using a handheld mixer, mix until light and fluffy, about 2 minutes.
Add room temperature cream cheese and mix until well combined.
Slowly add the egg one at a time until well incorporated.
Slowly add half of the dry ingredients to the batter and mix until just combined.
Add the pineapple juice and mix.
Add the remaining dry ingredients until fully incorporated.
Fold in the finely chopped pineapples and scrape down the sides to make sure all ingredients are well combined.
Pour the batter on the prepared cupcake liners.
Bake at 350 degrees Fahrenheit for 19 minutes.
Allow it to cool before adding frosting and decorations.