the best solution i think to find out where the cable is coming from, most probably from a socket outlet in the same room and just replace the whole cable with the desired length. with no junction cables you will be more safe and you can plaster as you wish. Don't plaster on bare cables tough...