How to ignore certain histograms when merging files with hadd?

May be you can try: