I have thickenend frosting by adding a teaspoon of powdered sugar and mix it into the frosting. Add a teaspoon at a time until it is the right consistency.
Both homemade and store bought frostings can be easily thickened by the gradual addition of powdered or confectioner's sugar until the frosting reaches the desired consistency.