Energy bar is too soft
It sounds like what you need is a powder, you could try a protein powder, or you could use peanut butter powder, which is a good thickener. Chia powder is also a great binder. 

Another option would be a gum like xanthan or guar gum. 

Heat is another option if you aren't baking these already, heat will drive out moisture and help the mix crystallize.