You might want to check the djvu tools located here:
djvm can join djvu files. There are many more tools in the package, just take a look and see if it can do what you need.
PS. I just found that imagemagick also supports djvu, I never tried it for this purpose though.