First enter your video files names into a text file like videolist.txt then execute this command.
ffmpeg -f concat -safe 0 -i videolist.txt -c copy output.mp4