Thanks!
In the end, I have found this post, it's really useful and the ruby script works well.
The only problem is that my final merged file doesn't have the taxonomy anymore. A taxonomy was present in the original single biom files. Probably because qiime artifact files don't include taxonomy? Or is there any option that I should include when importing the biom files?