Working in batches, grind the chile peppers in a spice grinder until finely ground, about 1 minute.
Stir in cumin, paprika, oregano, garlic powder and cayenne.