It works by simply concatenating the files, and then using mp3val to eliminate the parts that shouldn't be duplicated.
You can get it here.
You can e-mail the author with questions or comments: