Make sure the spices are completely cool before grinding them. Any moisture can cause clumping. If your powder is clumpy, try sifting it through a fine-mesh sieve.