Write a text file with all the parts like this:
file 'file1.mp4' file 'file2.mp4' file 'file3.mp4'
ffmpeg -f concat -i files.txt -c copy output.mp4