As the IDE copies everything under your sketch directory into a temp directory somewhere else before compiling, your relative path is no longer valid when compiling and the accessory files (.cpp) won't be seen and compiled / linked in.
just put your library in the known shared library directory or as you did before copy the files inside your sketch directory.