You need to have space between the elements on the texture, and of course the uv islands as well. The problem is that the texture gets filtered and blurred across that line. This will become much worse with mip-mapping in a game situation, so you need need a hefty border between the textures.