$ npm install -g https://github.com/ut7/twine-fusion
Export stories to be merged with Twine's Publish to file command.
Stories should not have passages with the same names.
$ twine-fusion story1.html story2.html … storyN.html > merged.html
Now import the resulting file into Twine using the Import from file command.