Using butter that is too soft will allow the cookies to spread too much while baking. Try refrigerating the cookie dough for an hour or two then baking. You can also add a couple of tablespoons of flour to prevent overspreading.